import time
import threading

def sleeper(n,name):
    print ("Sleep 5 sec")
    time.sleep(5)
    print ('Hello {}'.format(name))

t=threading.Thread(target=sleeper,name='thead1',args=(5,'Tony'))

t.start()
t.join()

print ('Wait 1')
print ('Wait 2')
print ('Wait 3')